﻿using Microsoft.AspNetCore.Http;

namespace Soul.IdentityServer.Infrastructure
{
    internal static class HttpContextExtensions
    {
        public static bool IsFormContentRequest(this HttpContext context)
        {
            return context.Request.ContentType == "application/x-www-form-urlencoded";
        }
    }
}
